package com.domain;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@ConfigurationProperties
public class Global_data

{

    String log="";       //系统日志显示网页端口
    int log_Grade=0;        //系统显示日志等级
    String access_token="";    //获取的wechat的token
    String Tcp_data="";
    public  byte[] Byte_data=new byte[1024*100];
    public List<byte[]> door_buff=new ArrayList();//发开的快递柜柜门开关的信息
    public List<String> door_buff_id=new ArrayList();//发开的快递柜柜门开关的编号


    int wechat_num_hour=0;            //微信请求统计小时
    int wechat_num_day=0;             //微信请求统计天
    int wechat_chat_day=0;            //微信聊天输入求统计天
    int wechat_key_day=0;             //微信按键输入求统计天

    public int getLog_Grade() {
        return log_Grade;
    }

    public void setLog_Grade(int log_Grade) {
        this.log_Grade = log_Grade;
    }

    public String getLog() {
        return log;
    }

    public void setLog(String log) {
        this.log = log;
    }

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public int getWechat_num_hour() {
        return wechat_num_hour;
    }

    public void setWechat_num_hour(int wechat_num_hour) {
        this.wechat_num_hour = wechat_num_hour;
    }

    public int getWechat_num_day() {
        return wechat_num_day;
    }

    public void setWechat_num_day(int wechat_num_day) {
        this.wechat_num_day = wechat_num_day;
    }

    public int getWechat_chat_day() {
        return wechat_chat_day;
    }

    public void setWechat_chat_day(int wechat_chat_day) {
        this.wechat_chat_day = wechat_chat_day;
    }

    public int getWechat_key_day() {
        return wechat_key_day;
    }

    public void setWechat_key_day(int wechat_key_day) {
        this.wechat_key_day = wechat_key_day;
    }

    public String getTcp_data() {
        return Tcp_data;
    }

    public void setTcp_data(String tcp_data) {
        Tcp_data = tcp_data;
    }
}
